package cc.ok200.api.repository;

import cc.ok200.api.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 用户数据访问接口
 */
@Repository
public interface UserDao extends JpaRepository<User, String> {
    User findByMobileAndPassword(String mobile, String password);
}